<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>商品列表页</title>
		<link rel="stylesheet" type="text/css" href="/libs/bootstrap/css/bootstrap.min.css"/>
		<link rel="stylesheet" type="text/css" href="/css/category.css"/>
	</head>
	<body>
		
		<header></header>
		
		<!-- 所有商品展示 -->
		<div class="hotGoods">
		
			<ul id="hotGoodsUl"></ul>
			<script type="text/html" id="hotGoodsUlTemplate">
				{{each list item}}
					<li>
						<img src="{{item.image}}" >
						<div class="coverInfo">
							<a href="/html/detail.html?id={{item.id}}" target="_blank">
							
								<p class="money">￥{{item.price}}</p>
								{{if item.couponValue}}
									<p class="tle">{{ item.couponValue}}</p>
								{{/if}}
								<p class="desc">{{ item.qunTitle}}</p>
								
							</a>
						</div>
						<div class="disc">
							<a class="who" href="" target="_blank">
								<img src="{{item.image}}" >
								{{item.title.slice(0,12) + '...'}}
							</a>
							<a class="goodsFavCount" href="#" >{{item.sales}}</a>	
						</div> 
					</li>
				{{/each}}
			</script>
		
		
		</div>
		
		
		<!-- more -->
		<div id="pagers">
			<a href="/i/shop/" target="_blank" class="osm-more"></a>
		</div>
		
		
		<footer></footer>
		
		<script src="/libs/require/require.min.js" data-main = "/js/category" ></script>
	</body>
</html>
